﻿namespace Pps.Core
{
    using System;

    public static class Debug
    {
        static Debug()
        {
#if DEBUG
            Microsoft.SPOT.Debug.EnableGCMessages(true);
#endif
        }

        public static void Print(string text)
        {
#if DEBUG
            Microsoft.SPOT.Debug.Print(DateTime.Now + " - " + text);
#endif
        }

        public static uint GC(bool force)
        {
            return Microsoft.SPOT.Debug.GC(force);
        }
    }
}